Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore B

Total Complexity 98
Dependencies 7
Dependents 6
Total lines 922
Lines of code 571
Logical lines of code 278
Comment lines 211
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
add_sql_query_params()
C
32 23 103
add_time_period_sql_params()
A
42 10 53
update_registered_customer()
A
43 7 51
get_data()
A
41 5 61
get_existing_customer_id_from_order()
S
52 5 26
get_customer_order_data_and_format()
S
48 4 35
sync_order_customer()
S
54 5 19
get_or_create_customer_from_order()
S
56 5 18
anonymize_customer()
S
49 3 40
is_valid_customer()
S
61 4 11
delete_customer_by_user_id()
S
62 4 11
get_order_count()
S
58 3 17
get_last_order()
S
58 2 16
get_oldest_orders()
S
57 2 16
sync_on_order_delete()
S
65 3 10
get_customer_id_by_user_id()
S
63 2 11
get_guest_id_by_email()
S
63 2 11
assign_report_columns()
S
53 1 23
update_registered_customer_via_last_active()
S
73 2 5
delete_customer()
S
65 2 9
normalize_order_by()
S
72 2 6
init()
S
62 1 11
initialize_queries()
S
66 1 8